package jin.si.com.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @description: 注入
 * @ClassName ResourcesEntity
 * @Author MT
 * @Date 2021/5/7 10:40
 **/

@Configuration
@PropertySource("classpath:resource.properties")
public class ResourcesEntity {

    @Value("${path1}")
    private String path;

    @Value("${code}")
    private String code;

    @Value("${pwd}")
    private String pwd;




    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }




}
